package com.lt.shiropro.mapper;

import com.lt.shiropro.entity.Pers;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import javax.annotation.Resource;
import java.util.Set;

/**
* @author root
* @description 针对表【t_pers】的数据库操作Mapper
* @createDate 2023-12-04 16:36:52
* @Entity com.lt.shiropro.entity.Pers
*/
public interface PersMapper extends BaseMapper<Pers> {

    /**
     * 通过用户名查询权限集合
     * @param username 用户名
     * @return
     */
    Set<String> queryUserAuths(@Param("username") String username);
}




